What is key signature of g minor?

The key signature of g minor contains two flats: B-flat and E-flat. This means that all B's and E's in the music will be played as flat notes, unless otherwise indicated by accidentals. G minor is a relative minor key to B-flat major. It is known for its melancholic and somber mood, and is often used in music that conveys a sense of sadness or longing. Some famous pieces in this key include Mozart's Symphony No. 40, Beethoven's Piano Sonata No. 8, and Bach's Prelude and Fugue in G minor.